package com.my.designpattern.chainofresponsibility;

/**
 * @author ：dingzicheng
 * @date ：Created in 2021/12/17 15:03
 * @description：
 * @modified By：
 * @version: $
 */
public class ErrorLogger extends AbstractLogger {

    public ErrorLogger(int level){
        this.level = level;
    }

    @Override
    protected void write(String message) {
        System.out.println("Error Console::Logger: " + message);
    }
}
